/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bs.ventas.modelo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 *
 * @author ctrosch
 */
@Embeddable
public class ItemCondicionPagoVentaPK implements Serializable{

    @Column(name = "CNDPAG", nullable = false, length = 6)
    private String cndpag;
    @Column(name = "CUOTAS", nullable = false, scale=10)
    private Integer cuotas;

    public ItemCondicionPagoVentaPK() {

    }

    public ItemCondicionPagoVentaPK(String cndpag, Integer cuotas) {
        this.cndpag = cndpag;
        this.cuotas = cuotas;
    }
    
    public String getCndpag() {
        return cndpag;
    }

    public void setCndpag(String cndpag) {
        this.cndpag = cndpag;
    }

    public Integer getCuotas() {
        return cuotas;
    }

    public void setCuotas(Integer cuotas) {
        this.cuotas = cuotas;
    }
   
}
